package com.three.service;

import com.three.entity.Department;
import com.three.entity.Staff;
import com.three.vo.R;

public interface DepartmentService {
    public R getAll();
    //查询所有部门
    R getAllDept(Integer currentPage, Integer pageSize, Department department);
    //添加
    R addDept(Department department);
    //修改
    R updateDept(Department department);
    //删除
    R deleteDept(Integer deptid);

}
